package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 审核对象 check
 *
 * @author ruoyi
 * @date 2024-04-13
 */
public class Check extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Integer state;

    /** $column.columnComment */
    private Long id;

    /** 审核类型 */
    @Excel(name = "审核类型")
    private Integer type;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long projectId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long checkerId;

    /** 审核结果 */
    @Excel(name = "审核结果")
    private Integer checkResult;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String suggestion;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String name;

    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState()
    {
        return state;
    }
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setProjectId(Long projectId)
    {
        this.projectId = projectId;
    }

    public Long getProjectId()
    {
        return projectId;
    }
    public void setCheckerId(Long checkerId)
    {
        this.checkerId = checkerId;
    }

    public Long getCheckerId()
    {
        return checkerId;
    }
    public void setCheckResult(Integer checkResult)
    {
        this.checkResult = checkResult;
    }

    public Integer getCheckResult()
    {
        return checkResult;
    }
    public void setSuggestion(String suggestion)
    {
        this.suggestion = suggestion;
    }

    public String getSuggestion()
    {
        return suggestion;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("state", getState())
            .append("id", getId())
            .append("type", getType())
            .append("userId", getUserId())
            .append("projectId", getProjectId())
            .append("checkerId", getCheckerId())
            .append("checkResult", getCheckResult())
            .append("suggestion", getSuggestion())
            .append("createTime", getCreateTime())
            .append("name", getName())
            .toString();
    }
}
